using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace backend.Models.Dtos
{
    public class UserLoginDto
    {
        [JsonPropertyName("userID")]
        public string UId { get; set; } = null!;
        [JsonPropertyName("password")]
        public string UPassword { get; set; } = null!;
    }

    public class UserRegisterDto
    {
        [JsonPropertyName("userID")]
        public string UId { get; set; } = null!;
        [JsonPropertyName("password")]
        public string UPassword { get; set; } = null!;
        [JsonPropertyName("name")]
        public string UName { get; set; } = null!;
        [JsonPropertyName("phoneNumber")]
        public string UContact { get; set; } = null!;
        [JsonPropertyName("role")]
        public string URole { get; set; } = null!;
    }

    public class UserReturnDto
    {
        [JsonPropertyName("userID")]
        public string UId { get; set; } = null!;
        [JsonPropertyName("name")]
        public string UName { get; set; } = null!;
        [JsonPropertyName("phoneNumber")]
        public string UContact { get; set; } = null!;
        [JsonPropertyName("role")]
        public string URole { get; set; } = null!;
    }
}